<script type="text/javascript">
function focusit() {
    document.getElementById('user_login').focus();
}
window.onload = focusit;
</script>
<form action="" method="post">
    <p>
        <label><?php __e('Username'); ?><br>
        <?php echo $html->input('User/login', array('id'=>'user_login', 'size' => 20, 'class'=>'input', 'tabindex'=>10)); ?>
        </label>
    </p>
    <p>
        <label><?php __e('Password'); ?><br>
        <?php echo $html->input('User/passwd', array('id'=>'user_pass', 'size' => 20, 'class' => 'input', 'type'=>'password', 'tabindex'=>20)); ?></label>
    </p>
    <p class="forgetmenot" style="display:none;"><label><?php echo $html->checkbox('User/remember_me', array('id'=>'remember_me', 'value'=>'forever', 'tabindex'=>90)); ?> <?php __e('Remember Me'); ?></label></p>
    <p class="submit">
        <input id="loginsubmit" value="<?php __e('Log In'); ?>" tabindex="100" type="submit">
    </p>
</form>

<ul>
    <li><?php echo $html->link(__('Back to site'), '/', array('title'=>'Are you lost?')); ?></li>
    <li><?php echo $html->admin_link(__('Lost your password?'), '/login/lost_password/', array('title'=>'Password Lost and Found')); ?></li>
</ul>
